#pragma once
#include "camera.h"
#include "Ray.h"
#include "Mesh.h"

class CPerspectiveCamera : public CCamera
{

private:
	CVector			*m_Right;

private:
	CRay *ComputeCameraRayAtPosition(int, int);
	void RenderInstruction2();
	void RenderInstruction3();
	void RenderInstruction4();
	void Test();

public:

	CMesh			*m_Mesh;			// TEMPORARY -> Further will be scene graph...

	CPerspectiveCamera(void);
	CPerspectiveCamera(CVector, CVector);
	CPerspectiveCamera(CVector, CVector, CVector, float, float, float);
	~CPerspectiveCamera(void);
	void Render();
	
};

